package cn.bellychang.iiterface.liuxin;

/**
 * 1. in an ordered sequence
 * 2. support random access
 * @author: bellychang
 * @date: 2020/2/6
 */
public interface List<E> {

    void add(int index, E e);

    void addLast(E e);

    E get(int index);

    E remove(int index);

    int getSize();
}
